﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000AB1 RID: 2737
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MAEIKELDODO : IMessage<MAEIKELDODO>, IMessage, IEquatable<MAEIKELDODO>, IDeepCloneable<MAEIKELDODO>, IBufferMessage
	{
		// Token: 0x1700228D RID: 8845
		// (get) Token: 0x06007A7C RID: 31356 RVA: 0x001473E0 File Offset: 0x001455E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MAEIKELDODO> Parser
		{
			get
			{
				return MAEIKELDODO._parser;
			}
		}

		// Token: 0x1700228E RID: 8846
		// (get) Token: 0x06007A7D RID: 31357 RVA: 0x001473E7 File Offset: 0x001455E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MAEIKELDODOReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700228F RID: 8847
		// (get) Token: 0x06007A7E RID: 31358 RVA: 0x001473F9 File Offset: 0x001455F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MAEIKELDODO.Descriptor;
			}
		}

		// Token: 0x06007A7F RID: 31359 RVA: 0x00147400 File Offset: 0x00145600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MAEIKELDODO()
		{
		}

		// Token: 0x06007A80 RID: 31360 RVA: 0x00147413 File Offset: 0x00145613
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MAEIKELDODO(MAEIKELDODO other) : this()
		{
			this.avatarIdList_ = other.avatarIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007A81 RID: 31361 RVA: 0x0014743D File Offset: 0x0014563D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MAEIKELDODO Clone()
		{
			return new MAEIKELDODO(this);
		}

		// Token: 0x17002290 RID: 8848
		// (get) Token: 0x06007A82 RID: 31362 RVA: 0x00147445 File Offset: 0x00145645
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> AvatarIdList
		{
			get
			{
				return this.avatarIdList_;
			}
		}

		// Token: 0x06007A83 RID: 31363 RVA: 0x0014744D File Offset: 0x0014564D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MAEIKELDODO);
		}

		// Token: 0x06007A84 RID: 31364 RVA: 0x0014745B File Offset: 0x0014565B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MAEIKELDODO other)
		{
			return other != null && (other == this || (this.avatarIdList_.Equals(other.avatarIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007A85 RID: 31365 RVA: 0x00147490 File Offset: 0x00145690
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007A86 RID: 31366 RVA: 0x001474C4 File Offset: 0x001456C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007A87 RID: 31367 RVA: 0x001474CC File Offset: 0x001456CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007A88 RID: 31368 RVA: 0x001474D5 File Offset: 0x001456D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.avatarIdList_.WriteTo(ref output, MAEIKELDODO._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007A89 RID: 31369 RVA: 0x001474FC File Offset: 0x001456FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarIdList_.CalculateSize(MAEIKELDODO._repeated_avatarIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007A8A RID: 31370 RVA: 0x00147535 File Offset: 0x00145735
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MAEIKELDODO other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarIdList_.Add(other.avatarIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007A8B RID: 31371 RVA: 0x00147563 File Offset: 0x00145763
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007A8C RID: 31372 RVA: 0x0014756C File Offset: 0x0014576C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U && num != 50U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.avatarIdList_.AddEntriesFrom(ref input, MAEIKELDODO._repeated_avatarIdList_codec);
				}
			}
		}

		// Token: 0x04002ED3 RID: 11987
		private static readonly MessageParser<MAEIKELDODO> _parser = new MessageParser<MAEIKELDODO>(() => new MAEIKELDODO());

		// Token: 0x04002ED4 RID: 11988
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002ED5 RID: 11989
		public const int AvatarIdListFieldNumber = 6;

		// Token: 0x04002ED6 RID: 11990
		private static readonly FieldCodec<uint> _repeated_avatarIdList_codec = FieldCodec.ForUInt32(50U);

		// Token: 0x04002ED7 RID: 11991
		private readonly RepeatedField<uint> avatarIdList_ = new RepeatedField<uint>();
	}
}
